
package com.eorchis.log;

import java.util.List;



/**
 * Title: BaseLogRecordController<br>
 * Description: 日志webservice传递参数类<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author Max
 * @createDate 2015-04-15
 * @version $Revision$
 */
public class LogRecordParam {
	
	private String entityName;//实体类名称
	
	private Long  logindate;//登录时间
	private String opcategory;//操作分类
	private String opmodule;//操作模块
	private Long  opdate;//操作时间
	private String opbefoData;//操作前数据
	private String opafteData;//操作后数据
	private String opurl;//操作地址
	private String opdataId;//操作主数据ID
	private String opcontent;//操作说明
	private String opIp;//操作人ip
	private String opuser;//操作人
	private String optype;//操作类型 
	private String oploginId;//登陆号
	private List<LogRecordParam> recordlist;//批量操作对象
	

	public String getEntityName() {
		return entityName;
	}

	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	public String getOpcategory() {
		return opcategory;
	}

	public void setOpcategory(String opcategory) {
		this.opcategory = opcategory;
	}

	public String getOpmodule() {
		return opmodule;
	}

	public void setOpmodule(String opmodule) {
		this.opmodule = opmodule;
	}


	public String getOpbefoData() {
		return opbefoData;
	}

	public void setOpbefoData(String opbefoData) {
		this.opbefoData = opbefoData;
	}

	public String getOpafteData() {
		return opafteData;
	}

	public void setOpafteData(String opafteData) {
		this.opafteData = opafteData;
	}

	public String getOpurl() {
		return opurl;
	}

	public void setOpurl(String opurl) {
		this.opurl = opurl;
	}

	public String getOpdataId() {
		return opdataId;
	}

	public void setOpdataId(String opdataId) {
		this.opdataId = opdataId;
	}

	public String getOpcontent() {
		return opcontent;
	}

	public void setOpcontent(String opcontent) {
		this.opcontent = opcontent;
	}

	public String getOpIp() {
		return opIp;
	}

	public void setOpIp(String opIp) {
		this.opIp = opIp;
	}

	public String getOpuser() {
		return opuser;
	}

	public void setOpuser(String opuser) {
		this.opuser = opuser;
	}

	public Long  getLogindate() {
		return logindate;
	}

	public void setLogindate(Long  logindate) {
		if(logindate==0){
			this.logindate = null;
		}
		this.logindate = logindate;
	}

	public Long  getOpdate() {
		return opdate;
	}

	public void setOpdate(Long  opdate) {
		this.opdate = opdate;
	}

	public String getOptype() {
		return optype;
	}

	public void setOptype(String optype) {
		this.optype = optype;
	}

	public String getOploginId() {
		return oploginId;
	}

	public void setOploginId(String oploginId) {
		this.oploginId = oploginId;
	}
	

	public List<LogRecordParam> getRecordlist() {
		return recordlist;
	}

	public void setRecordlist(List<LogRecordParam> recordlist) {
		this.recordlist = recordlist;
	}
	
}
